package com.pig4cloud.pig.module.api.entity.wx;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 用户的补签卡列对象 user_sign_replenish_card
 *
 * @author ruoyi
 * @date 2022-06-13
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("user_sign_replenish_card")
public class UserSignReplenishCard implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 补签卡类型id
     */
    private Long cardId;

    /**
     * 补签卡名称
     */
    private String cardName;

    /**
     * 获取时间
     */
    @TableField(fill = FieldFill.INSERT)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 补签卡状态
     */
    private Integer state;

    /**
     * 有效期开始时间
     */
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;

    /**
     * 有效期结束时间
     */
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

}
